#ifndef PLAYSCENE_H
#define PLAYSCENE_H

#include <QMainWindow>
#include <QDebug>
#include <QPainter>
#include <QIcon>
#include <QMenuBar>
#include <QPixmap>
#include <QVector>
#include "mypushbutton.h"
#include <QLabel>
#include <QSound>
#include "mycoin.h"
#include "dataconfig.h"

class PlayScene : public QMainWindow
{
    Q_OBJECT
public:
    int levelIndex;
    explicit PlayScene(QWidget *parent = nullptr);
    void paintEvent(QPaintEvent* event) override;
    int gameArray[4][4];
    MyCoin* coinArr[4][4];
    bool gameWin;
    QLabel* successLabel;
    PlayScene(int level);

signals:

    void quitPlay();

};

#endif // PLAYSCENE_H
